You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="21420" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Daniela Bauer 7cecb7c591" timestamp="2024-04-17T17:31:32Z" comment="/* Sites in  GridPP */" />
          <rev user="Daniela Bauer 7cecb7c591" timestamp="2024-04-16T11:54:33Z" comment="/* Security */" />
          <rev user="Daniela Bauer 7cecb7c591" timestamp="2024-04-16T11:53:51Z" comment="" />
          <rev user="Robert Currie 63054938fd" timestamp="2024-02-28T17:05:50Z" comment="/* Middleware */" />
          <rev user="Robert Currie 63054938fd" timestamp="2023-11-22T13:49:05Z" comment="/* Operations */" />
        </revisions>
      </page>
    </pages>
  </query>
</api>